package com.lcq.price.client;


import com.lcq.course.entity.Good;
import org.apache.ibatis.annotations.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("goods-list")
public interface CourseListClient {
    @GetMapping("/good")
    Good getGoodById(@RequestParam("id") int id);

}
